<?php

// Set up the State Taxonomies
add_action( 'init', 'riv_state_fish_register_taxonomies' );

// Register State Taxonomie
function riv_state_fish_register_taxonomies() {
	
	// Set up the State taxonomy argument
	$state_args = array(
		'hierarchical' => true,
		'labels' => array(
			'name' => 'States',
			'singular_name' => 'State',
			'edit_item' => 'Edit State',
			'update_item' => 'Update State',
			'add_new_item' => 'Add New State',
			'new_item_name' => 'New State Name',
			'all_items' => 'All States',
			'search_items' => 'Search States', 
			'popular_items' => 'Popular States',
			'separate_items_with_commas' => 'Separate states with commas', 
			'add_or_remove_items' => 'Add or remove states', 
			'choose_from_most_used' => 'Choose from the most popular states'
		),
	);
	
	// Register State Taxonomy
	register_taxonomy( 'state', array( 'river' ), $state_args);

}



?>